<template>
	<div class="SignUpPeople" style="background: white">
		<u-list @scrolltolower="scrolltolower">
			<u-list-item>
				<u-cell>
					<template slot="icon" style="font-weight: bold">已报名人</template>
					<template slot="title">
						<div>(共<span style="color: aqua">10</span>人)</div>
					</template>
				</u-cell>
			</u-list-item>
			<u-list-item v-for="(item, index) in listData" :key="index">
				<u-cell :title="item.name"></u-cell>
			</u-list-item>
		</u-list>
	</div>
</template>
<script>
	export default {
		data() {
			return {
				listData: [{
						name: "刘德华"
					},
					{
						name: "路哈"
					},
					{
						name: "杨康"
					},
					{
						name: "梁龙维"
					},
					{
						name: "张毅"
					},
					{
						name: "何客中"
					},
					{
						name: "蒋夏婷"
					},
					{
						name: "吕幸谕"
					},
					{
						name: "宋明洋"
					},
					{
						name: "刘诗逸"
					},
				],
			};
		},
		onLoad(e) {
		console.log("----activityApplyList---",e)

			this.$apis.activityApplyList({actId:e.id}).then((res) => {
				console.log(res)
				if (res.success) {
					this.listData=res.result
				}

			})
			
			
		}
	};
</script>
<style lang="scss" scoped>
</style>
